Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Andy Mintumisterikle 19.Jan.04 07:35 PM Lotus Notes
Domino Designer 6.0.1 iSeries


I've got a really cool RSS Feed coming in to my database that hits the National
Weather Services Feed for Iowa Watches, Warnings, and Advisories on our home page.

It works great at getting the warnings out, a scheduled agent hits the .XML file from the NWS
and it parses the information in to Notes documents on my end which I can use as I see if.

The problem is getting these documents to "expire." RSS feeds have a basic three field
structure, title, publish date and description.

I want to run an agent that will flag a field on these documents as "Yes" if any of the documents
in the view have the string "CANCELLED" in the description field. That way, the view selection
criteria will keep old advisories from showing up.

Here's my agent code:

@If(@Contains(@DbColumn("";"":@Subset(@DbName; -1);"StoryCoWeather";2); "CANCELLED");@SetField("Yes";"NewsTitle");SELECT @All

Why is this not working?






Agent to @SetField Not Working (~Naomi Ekponepl... 19.Jan.04)
. . RE: Agent to @SetField Not Working (~Hal Zenrekonyl... 19.Jan.04)
. . RE: Agent to @SetField Not Working (~Mario Lopkiste... 19.Jan.04)
. . RE: Agent to @SetField Not Working (~Mark Nimnuplop... 20.Jan.04)
. . RE: Agent to @SetField Not Working (~Bill Frokimari... 20.Jan.04)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS